package Class01;

public class Circle implements Shape{
    private double r;

    public Circle(double r) {
        this.r = r;
    }

    public double Area(){
        return Math.PI*r*r;
    }
    public double Perimeter(){
        return Math.PI*r*2;
    }
}
